package com.alex;

import com.anythink.core.api.ATAdAppInfo;
import com.bytedance.sdk.openadsdk.ComplianceInfo;

public class AlexGromoreDownloadAppInfo extends ATAdAppInfo {
    private final String publisher;
    private final String appVersion;
    private final String appPrivacyLink;
    private final String appPermissionLink;
    private final String appName;
    private final long appSize;
    private final String functionUrl;

    public AlexGromoreDownloadAppInfo(ComplianceInfo complianceInfo, long size) {
        appPrivacyLink = complianceInfo.getPrivacyUrl();
        appPermissionLink = complianceInfo.getPermissionUrl();
        appName = complianceInfo.getAppName();
        publisher = complianceInfo.getDeveloperName();
        appVersion = complianceInfo.getAppVersion();
        appSize = size;
        functionUrl = complianceInfo.getFunctionDescUrl();
    }

    @Override
    public String getFunctionUrl() {
        return functionUrl;
    }

    @Override
    public String getPublisher() {
        return publisher;
    }

    @Override
    public String getAppVersion() {
        return appVersion;
    }

    @Override
    public String getAppPrivacyUrl() {
        return appPrivacyLink;
    }

    @Override
    public String getAppPermissonUrl() {
        return appPermissionLink;
    }

    @Override
    public long getAppSize() {
        return appSize;
    }

    @Override
    public String getAppName() {
        return appName;
    }

    @Override
    public String getAppPackageName() {
        return "";
    }

    @Override
    public String getAppDownloadCount() {
        return "";
    }
}
